local function RemoveMonkeyCurse(inst,data)
    if data and data.item and data.item.prefab == "cursed_monkey_token" then
        data.item:Remove()
    end
end

AddPrefabPostInit("kukude", function(inst)
    if not TheWorld.ismastersim then return end
    inst.components.cursable.IsCursable = function() return false end
    --inst:ListenForEvent("itemget",RemoveMonkeyCurse)
end)

AddComponentPostInit("curseditem", function(self)
    local OldGiven = self.Given
    self.Given = function(self, item, data, ...)
        if not data.owner or data.owner.prefab ~= "kukude" then
            return OldGiven(self, item, data, ...)
        end
    end
end)